package com.gestocasa.model;

public class NumericValue extends Value {

	private double value;
	
	public NumericValue() {
		this(null);
	}
	
	public NumericValue(Double value) {
		this.value = (value == null) ? Double.NaN : value;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}
	
	@Override
	public String toString() {
		return String.valueOf(value);
	}
}
